package com.hse.application;

public class DataPacket {
    private Short panId;
    private Short rcvAddress;
    private Short dstAddress;
    private byte[] data;

    public DataPacket(Short panId, Short srcAddr, Short dstAddr, byte[] data) {
        this.panId = panId;
        this.rcvAddress = srcAddr;
        this.dstAddress = dstAddr;
        this.data = data;
    }

    public Short getPanId() {
        return panId;
    }

    public void setPanId(Short panId) {
        this.panId = panId;
    }

    public Short getRcvAddress() {
        return rcvAddress;
    }

    public void setRcvAddress(Short rcvAddress) {
        this.rcvAddress = rcvAddress;
    }

    public Short getDstAddress() {
        return dstAddress;
    }

    public void setDstAddress(Short dstAddress) {
        this.dstAddress = dstAddress;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }
}
